package Client.GUI;
/*
 * Output:
Screen width = 1280
Screen height = 1024
 */

import java.awt.Dimension;
import java.awt.Toolkit;


public class BildschirmGroesse {
	
	public static   int height;
	public   int width;

	public static void main(String[] args) {
	    Toolkit tk = Toolkit.getDefaultToolkit();
	    Dimension d = tk.getScreenSize();
	    System.out.println("Screen width = " + d.width);
	    System.out.println("Screen height = " + d.height);
	    
	    //System.out.println(width);

	}
	
	public BildschirmGroesse(int width, int height){
		
		this.width = width;
		this.height= height;
	}
	



public static int getHeight() {
	Toolkit tk = Toolkit.getDefaultToolkit();
    Dimension d = tk.getScreenSize();
	return d.height ;
}

public static void setHeight(int height) {
	BildschirmGroesse.height = height;
}

public static int getWidth() {
	Toolkit tk = Toolkit.getDefaultToolkit();
    Dimension d = tk.getScreenSize();
	return d.width ;
}

public static void setWidth(int width) {

}


  
}